%violin_data = readxlsx('test.xlsx');
%violin_data = readmatrix('C:\Users\67072\OneDrive - The Pennsylvania State University\bypass project\Paper\velocity violin.xlsx');
%violin_data = zeros(2,2);
Yviolin {1,1} = violin_data(:,1);%u
Yviolin {1,2} = violin_data(:,2);%v
Yviolin {1,3} = violin_data(:,3);%u
Yviolin {1,4} = violin_data(:,4);%v
Yviolin {1,5} = violin_data(:,5);
Yviolin {1,6} = violin_data(:,6);

[~, ~, Mx, MED, IQR, ci5, ~] = violin(Yviolin, 'figNumber', 250, 'edgecolor', 'none', 'facecolor', [0.5,0.5,0.5], ...
    'xlabel',{'30°PIV','30°CFD', '60°PIV','60°CFD', '90°PIV','90°CFD'},'plotlegend' ...
  ,0,'95CIdistribution','normal' );
set(gca,'FontSize',40);
set(gcf,'Color',[1,1,1]);

ylabel('WSS (dynes/cm^2)');
set(gca,'Box','off');
title('Inlet 5 Graft 20(ml/min)')
set(gca,'XTickLabel',{'30°PIV','30°CFD', '60°PIV','60°CFD', '90°PIV','90°CFD'});
%legend('PDF','Mean','Median','IQR','95% CI');
set(gca,'YTick',[-0.5 0 0.5 1 1.5]);
%pbaspect([1 0.6 1]);
%avg_all(ind1,:) = MX;
%med_all(ind1,:) = MED;
%IQR_all(1:2,:) = IQR;
%ci95_all(1:2,:) = ci95;
ylim([-0.05 0.5]);